/**
 * 下方引入的为uView UI的集成样式文件，为scss预处理器，其中包含了一些"u-"开头的自定义变量
 * uView自定义的css类名和scss变量，均以"u-"开头，不会造成冲突，请放心使用 
 */
html{
	--main-color:#59C173;
	--main-color-light:#1ED94F;
}
@import 'uview-ui/theme.scss';
$u-bg-color:#F6F6F6;
$u-main-color:#333333;
$u-tips-color:#666666;
$u-light-color:#999999;

$u-type-primary: var(--main-color);
$u-type-primary-light:var(--main-color-light);
$u-type-error:#F97B22;
$u-type-warning:#FFAA44;

.w-0{
	width: 0;
}

.h-0{
	height: 0;
}

.h-full{
	height: 100%;
}

.font-bold{
	font-weight: 700;
}

.font-medium{
	font-weight: 600;
}

.font-normal{
	font-weight: normal;
}

.white{
	color: #FFFFFF;
}

.box-shadow {
		box-shadow: 1px -2px 8rpx 0px rgba(0, 101, 77, 0.1);
	}
.u-flex-col{
		display: flex;
		flex-direction: column;
}
.title-dot{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.title-dot:before{
	content: "";
	display: inline-block;
	width: 10rpx;
	height: 10rpx;
	border-radius: 50%;
	background-color: #999;
	margin-right: 16rpx;
}

.radius20{
	border-radius: 20rpx;
	overflow: hidden;
}

.radius10{
	border-radius: 10rpx;
}

.align-right{
	text-align: right;
}

.align-center{
	text-align: center;
}

.price{
	--priceSize:32rpx;
	font-size: var(--priceSize);
	font-weight: 600;
	
	&:before{
		content: '￥';
		font-size: calc(var(--priceSize)*0.75);
	}
}

.switch-map{
	width: 170rpx;
	border: 1px solid $u-type-primary;
	border-radius: 60rpx;
	position: absolute;
	right: 30rpx;
	overflow: hidden;
	z-index: 999;
	
	.switch-item{
		height: 54rpx;
		position: relative;
		z-index: 3;
	}
	
	.item-bg{
		position: absolute;
		width: 88rpx;
		height: 54rpx;
		top: 0;
		background-color: $u-type-primary;
		border-radius: 60rpx;
		transition: all 0.35s;
		
		&.left{
			left: 0;
		}
		&.right{
			left: 82rpx;
		}
	}
}